﻿/*----------------------------------------------------------------
//  <copyright file="ISmsSigner.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-09-14 11:24</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.SMS.Signer
{
    #region "短信签名接口"
    /// <summary>
    /// 短信签名接口
    /// </summary>
    public interface ISmsSigner
    {
        #region "方法"
        #region "申请短信签名"
        /// <summary>
        /// 申请短信签名
        /// </summary>
        /// <param name="paramsDto">短信签名参数DTO</param>
        /// <returns></returns>
        Task<OperationResult<SignResponse>> AddAsync(SignParamsDto paramsDto);
        #endregion
        #region "删除短信签名"
        /// <summary>
        /// 删除短信签名
        /// </summary>
        /// <param name="signName">短信签名</param>
        /// <returns></returns>
        Task<OperationResult<SignResponse>> DeleteAsync(string signName);
        #endregion
        #region "修改短信签名"
        /// <summary>
        /// 修改短信签名
        /// </summary>
        /// <param name="paramsDto">短信签名参数DTO</param>
        /// <returns></returns>
        Task<OperationResult<SignResponse>> ModifyAsync(SignParamsDto paramsDto);
        #endregion
        #region "查询短信签名"
        /// <summary>
        /// 查询短信签名
        /// </summary>
        /// <param name="signName">短信签名</param>
        /// <returns></returns>
        Task<OperationResult<SignDetailResponse>> QueryAsync(string signName);
        #endregion

        #endregion

    }
    #endregion

}
